package com.faklyn.bootelasticsearch.service;

import com.faklyn.bootelasticsearch.entity.EsResume;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

/**
 * @author ronghl
 * @date 2021-01-27
 */
public interface EsResumeRepository extends ElasticsearchRepository<EsResume, Long> {

    /**
     * 根据id查询简历
     * @param id
     * @return
     */
    EsResume getById(Long id);

}
